home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Amiga_Mail_Vol2 / Archives / Plain / ma93 / FastIO_II / FastIO_II.txt < prev   
Encoding:
Text File  |  1993-05-19  |  1.8 KB  |  35 lines

  1. (c) Copyright 1993 Commodore-Amiga, Inc.   All rights reserved.
  2. The information contained herein is subject to change without notice,
  3. and is provided "as is" without warranty of any kind, either expressed
  4. or implied.  The entire risk as to the use of this information is
  5. assumed by the user.
  6.  
  7. Even Faster AmigaDOS I/O
  8.  
  9.  
  10. In the September/October 1992 Amiga Mail issue, there is an article by
  11. Martin Taillefer called, ``Fast AmigaDOS I/O''. Most of the article
  12. consists of a code listing.  The code listing is a series of special
  13. I/O routines (plus their Autodocs) that are similar in appearance to
  14. the dos.library synchronous I/O functions Open(), Close(), Read(), and
  15. Write(), but they use asynchronous I/O instead.  These functions shield
  16. the programmer from the complicated, lower-level DOS work, allowing the
  17. application programmer to easily take advantage of the performance of
  18. asynchronous I/O.  They are as easy to use as the synchronous
  19. dos.library I/O calls, but they yield much higher performance.
  20.  
  21. Of course, Martin Taillefer, the guy who wrote the asynchronous I/O
  22. routines, had to improve upon his work. Besides working out one or two
  23. minor bugs, he has further improved the performance of the code and has
  24. also added a new feature.  There is a new routine called SeekAsync(),
  25. which allows an application to seek into a file while using Martin's
  26. asynchronous DOS I/O calls.
  27.  
  28. In making these improvements, Martin has made significant changes to
  29. the file that contains the asynchronous I/O functions, AsyncIO.c and
  30. can be found at the end of this article.  The Autodocs for the original
  31. asynchronous I/O functions have not changed, so they have not been
  32. reprinted here.  This article contains only the Autodoc for
  33. SeekAsync().  See the original article, ``Fast AmigaDOS I/O'' for the
  34. remaining files.
  35.